We derive the general $\Sigma_2\times S$ solution of topologically massive gravity in vacuum and in presence of a cosmological constant. The field equations reduce to three-dimensional Einstein equations and the solution has constant Ricci tensor. We briefly discuss the emergence of non-Ricci flat solutions when spin is introduced.